from pyecharts.charts import Pie
from pyecharts import options
data=[("南昌",10),("北京",25),("上海",35),("成都",20),("九江",10)]
pie=Pie()
pie.add("百分比",data)
pie.set_global_opts(title_opts=options.TitleOpts(title="各城市岗位量占比图"))
pie.render("piera.html")